* {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

/*主体*/
div#content {
    width: 1190px;
    margin: auto;
}

table {
    border: 1px solid aqua;
    width: 100%;
    overflow: hidden;
}

/*title*/
table > tr {
    width: 100%;
}

/*主播信息区*/
table td.room_title {
    height: 124px;
    width: 850px;
    overflow: hidden;
}

table td.room_title > ul {
    height: 124px;
    width: 850px;
    overflow: hidden;
}

/*主播头像*/

td.room_title > ul > li {
    float: left;
    height: 100%;
}

td.room_title li.photoImg {
    width: 124px;
    height: 100%;
    margin-right: 20px;
}

td.room_title li.photoImg > img {
    width: 100%;
    height: 100%;
}

td.room_title li.anchorInfo {
    width: auto;
    height: 100%;
}

li.anchorInfo > div {
    height: 31px;
    width: 100%;
}

/*弹幕区*/
table td.barrage {
    width: 330px;
    height: 100%;
}

/*弹幕区*/
td.barrage > div.messages {
    width: 330px;
    height: 660px;
    padding: 10px;
    overflow-y: scroll;
    word-wrap: break-word;
}

/*未登录时*/
div.barrage div.noLogin {
    width: 100%;
    height: 85px;
    background-color: red;
    border-top: 1px solid aqua;
    text-align: center;
    line-height: 85px;
}

div.noLogin span {
    margin-right: 10px;
    margin-left: 100px;
    color: #925d1d;
}

/*登录后*/
/*发送弹幕区*/
td.barrage > div.chat {
    width: 100%;
    height: 85px;
    border-top: 1px solid aqua;
}

/*输入信息*/
td.barrage > div.chat > input:nth-child(2) {
    padding: 10px 0 10px 14px;
    margin-left: 14px;
    margin-top: 35px;
    width: 250px;
}

/*发送按钮*/
td.barrage > div.chat > input:nth-child(3) {
    padding: 10px 0 10px 5px;
    width: 50px;
}

/*视频直播区*/
table td.videoFrame {
    width: 850px;
    height: 500px;
    z-index: 1;
}

#video {
    z-index: 1;
}

/*礼物区*/
table td.gift {
    width: 850px;
    height: 80px;
    position: relative;

}

td.gift > ul {
    width: 100%;
    height: 100%;

}

td.gift > ul > li {
    float: left;
    width: 9%;
    position: relative;
}

td.gift div.giftImg {
    margin: 10px 0 0 0;
    width: 100%;
    height: 70px;
    position: relative;
}

td.gift div.giftInfo {
    width: 100px;
    height: 50px;
    border: 1px solid aqua;
    background-color: white;
    z-index: 15;
    position: absolute;
    top: -50px;
    left: 0;
    display: none;
    color: #000;
}

div.giftImg img {
    width: 60px;
    height: 60px;
    display: block;
}


div#gif{
    width: 500px;
    height: 500px;
    background-color: #5bc1e2;
    display: block;
    position: absolute;
    z-index: 10;
    top: -510px;
    left: 150px;
}

div#gif>img{
    width: 100%;
    height: 100%;
}








